home *** CD-ROM | disk | FTP | other *** search
/ Online Today 2002 April / OTODAY042002.ISO / pc / progwin / lighths.swf / scripts / DefineButton2_827 / BUTTONCONDACTION on(release).as < prev   
Encoding:
Text File  |  2001-08-13  |  494 b   |  16 lines

  1. on(release){
  2.    stopDrag();
  3.    nummer = 1;
  4.    while(nummer < 7)
  5.    {
  6.       if(_root.OR1.hitTest(eval("_root.Platzhalter" add nummer)) and eval("_root:modul" add nummer) eq "none")
  7.       {
  8.          setProperty("_root.OR1", _X, getProperty(eval("_root.Platzhalter" add nummer), _X));
  9.          setProperty("_root.OR1", _Y, getProperty(eval("_root.Platzhalter" add nummer), _Y));
  10.          set("_root:modul" add nummer,"OR");
  11.          current = nummer;
  12.       }
  13.       nummer++;
  14.    }
  15. }
  16.